<?php
/**
 * @author 天涯 <mail@phpha.com>
 * @copyright http://blog.phpha.com
 * @link http://blog.phpha.com/vncms
 * @version 1.0
 */
defined('APP_PATH') or exit('Access Denied');
class m_odlog extends spModel{
	public $table = 'odlog';
	public $pk = 'id';
	//关联管理员表
	public $linker = array(
		array(
			'type'=>'hasone', //一对一关联
			'map'=>'admin', //关联标识
			'mapkey'=>'aid', //本表关联字段
			'fclass'=>'m_admin', //对应表类名
			'fkey'=>'id', //对应表关联字段
			'enabled'=>true, //启用关联
		),
	);
}
